package com.sefon.smarteconomy.domain;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Id;
 
/**
 * 
 * Copyright: Copyright (c) 2018 SefonSoft 
 * 
 * @ClassName: User.java 
 * @Description:基金产品
 * 
 * @version: v1.0.0
 * @author: SF2170
 * @by AnalysisExcel2File.java
 * @Date 2018/03/26 22:07:28
 * 
 */
@Entity
@Table(name="product_fund")
public class ProductFund {

	@Id 
	@Column(name="`id`", length=64, columnDefinition="varchar(64) COMMENT 'ID'")
	private String id;

	@Column(name="`product_name`", length=255, columnDefinition="varchar(255) COMMENT '理财产品名称'")
	private String productName;

	@Column(name="`net_value`", nullable=false, precision=12, scale=4, columnDefinition="double COMMENT '最新净值'")
	private Double netValue;

	/**
	* 可以为负
	*/
	@Column(name="`amount`", precision=12, scale=4, columnDefinition="double COMMENT '最近一个月涨幅'")
	private Double amount;

	/**
	* 参考集多个用逗号分隔 长度1000  表示满足这些标签才能推荐该产品
	*/
	@Column(name="`reference_label`", length=255, columnDefinition="varchar(255) COMMENT '参考标签'")
	private String referenceLabel;

	@Column(name="`create_date`", columnDefinition="datetime COMMENT '创建日期'")
	private Date createDate;

	@Column(name="`updata_date`", columnDefinition="timestamp COMMENT '修改日期'")
	private Date updataDate;


	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getProductName() {
		return productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}

	public Double getNetValue() {
		return netValue;
	}

	public void setNetValue(Double netValue) {
		this.netValue = netValue;
	}

	public Double getAmount() {
		return amount;
	}

	public void setAmount(Double amount) {
		this.amount = amount;
	}

	public String getReferenceLabel() {
		return referenceLabel;
	}

	public void setReferenceLabel(String referenceLabel) {
		this.referenceLabel = referenceLabel;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public Date getUpdataDate() {
		return updataDate;
	}

	public void setUpdataDate(Date updataDate) {
		this.updataDate = updataDate;
	}

}
